package com.itheima.service;

import com.itheima.entity.Result;
import com.itheima.pojo.Order;

import java.util.List;
import java.util.Map;

/**
 * @author chencfgs
 * @date 2019-12-06 18:36
 */
public interface OrderService {
    Result order(Map map) throws Exception;

    Map findById(String id);

    void add(Order order);

    List<Order> findByCondition(Order order);
}
